package es.ats.codington.festival.domain;

/**
 * POJO class to represent Place domain class.
 */
public abstract class Place {

	// Encapsulated data fields for Place class
		/**
		 * Member variables of Place class
		 */
		private int idPlace;
		private String placeName;
		public enum Zone{NORTH, SOUTH};
		private Zone zone;
		
	//---------------------Constructors--------------------
		
		/**
		 * Place class constructor without parameters.
		 */
		public Place(){}
		
		/**
		 * Place class constructor with all parameters of the class.
		 * 
		 * @param placeName
		 * @param zone
		 */
		public Place(String placeName, Zone zone){
			
			setPlaceName(placeName);
			setZone(zone);
			
		}
		
	//--------------------Getters and Setters-----------------
		
		public int getIdPlace() {
			return idPlace;
		}
		public void setIdPlace(int idPlace) {
			this.idPlace = idPlace;
		}
		public String getPlaceName() {
			return placeName;
		}
		public void setPlaceName(String placeName) {
			this.placeName = placeName;
		}
					
		public Zone getZone() {
			return zone;
		}

		public void setZone(Zone zone) {
			this.zone = zone;
		}
		
		}
		
